package chess_protocol

import "sync"

var (
	DataPool = sync.Pool{New: func() interface{} {
		return &Data{}
	}}
	SingleDataPool = sync.Pool{New: func() interface{} {
		return &SingleData{}
	}}
	UpdateDataPool = sync.Pool{New: func() interface{} {
		return &UpdateData{}
	}}
	MoveDataPool = sync.Pool{New: func() interface{} {
		return &MoveData{}
	}}
	DestroyDataPool = sync.Pool{New: func() interface{} {
		return &DestroyData{}
	}}
	SendMessagePool = sync.Pool{New: func() interface{} {
		return &SendMessage{}
	}}
)
